<template>
    <svg :style="{ width, height }">
        <use :href="prefix + name" :fill="color" />
    </svg>
</template>

<script setup lang='ts'>
defineProps({
    prefix: {
        type: String,
        default: "#icon-"
    },
    name: String,
    color: {
        type: String,
        default: '#272636'
    },
    width: {
        type: String,
        default: '16px'
    },
    height: {
        type: String,
        default: '16px'
    }
})
</script>

<style scoped lang='scss'></style>